package com.fsl.amsmanagercenter.fegin;

import com.fsl.amsmanagercenter.fegin.impl.DingFeginClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "ding-manager-service", fallback = DingFeginClientImpl.class)
public interface DingFeginClient {

    @RequestMapping(value = "/getDingInfo",method = RequestMethod.GET)
    String getDingInfo();
}
